package network.themis.rms.console.repo.user;

import network.themis.rms.console.entity.user.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * @author ccl
 * @time 2018-07-17 17:20
 * @name UserRepo
 * @desc:
 */
@Repository
public interface UserRepo extends CrudRepository<User,Long> {
    User findUserById(Long id);
    Page<User> findAll(Pageable pageable);
}
